package com.ymtms.customerservice.service;

import com.ymtms.customerservice.pojo.CustomerInformation;
import com.ymtms.customerservice.pojo.TotalFreight;
import com.ymtms.customerservice.vo.GridRequest;
import com.ymtms.customerservice.vo.GridResult;

import java.math.BigDecimal;
import java.util.List;

public interface CustomerInformationService {
    String fillInCustomerInformation(CustomerInformation customerInformation);

    List<String> selectAllCarriageRankingCustomer();

    List<BigDecimal> selectAllCarriageRankingMoney();
    List<TotalFreight> selectAllCarriageRanking();

    List<CustomerInformation> findCustomer(CustomerInformation customerInformation);

    List<String> getCustomercode();

    String deleteCustomer(String customerCode);

    GridResult<CustomerInformation> queryByPage(GridRequest gridRequest, CustomerInformation complaintInformation);

    String customerModify(CustomerInformation customerInformation);

    String findCustomerCodeByPhone(String phone);

    String findNameByPhone(String phone);

    String findUserNameByAccount(String account);
}
